Skip to content

Add descriptions to shell_exec tool schema#8

Merged
mkusaka merged 2 commits into
mainfrom
devin/1745132419-add-schema-descriptions
Apr 20, 2025
Merged

Add descriptions to shell_exec tool schema#8
mkusaka merged 2 commits into
mainfrom
devin/1745132419-add-schema-descriptions

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

Add descriptions to shell_exec tool schema

This PR enhances the schema definitions in the MCP Shell Server by adding detailed descriptions:

  • Enhanced the shell_exec tool description to be more informative
  • Added detailed parameter descriptions to the shell_exec tool schema parameters:
    • command: Added description explaining it's the shell command to execute
    • workingDir: Added description explaining it must be under $HOME for security

Note: I attempted to add descriptions to resource definitions (hostname, platform, shell, username, system-info) but found that the current version of the MCP SDK (1.10.1) doesn't support adding descriptions to ResourceTemplate objects.

Link to Devin run: https://app.devin.ai/sessions/ebf9fb16e1924cfdb08980ebed1fd9a5

Requested by: hinoshita1992@gmail.com

Co-Authored-By: hinoshita1992@gmail.com <hinoshita1992@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Co-Authored-By: hinoshita1992@gmail.com <hinoshita1992@gmail.com>
@mkusaka mkusaka merged commit a58f660 into main Apr 20, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant